package com.zg.scf.service;

import com.zg.common.core.dao.scf.entity.RuleItem;
import com.zg.common.core.service.IPageBaseService;
import com.zg.scf.domain.req.rule.RuleItemReq;

import java.util.List;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/22 10:47
 */

public interface RuleItemService extends IPageBaseService<RuleItem> {

    /**
     * 新增项目
     * @param list
     */
    void batchAdd(List<RuleItemReq> list);

    /**
     * 根据企业配置ID查询
     * @param configId
     * @return
     */
    List<RuleItem> listByRuleId(String configId);

}
